package scct.yzx.model;

public class ChatRecord {
    int id;
    int converstionid;
    String sendername;
    String receivername;
    String msgtype;
    String content;
    String sentime;

    public ChatRecord(int id, int converstionid, String sendername, String receivername, String msgtype, String content, String sentime) {
        this.id = id;
        this.converstionid = converstionid;
        this.sendername = sendername;
        this.receivername = receivername;
        this.msgtype = msgtype;
        this.content = content;
        this.sentime = sentime;

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getConverstion() {
        return converstionid;
    }

    public void setConverstion(int converstion) {
        this.converstionid = converstion;
    }

    public String getSendername() {
        return sendername;
    }

    public void setSendername(String sendername) {
        this.sendername = sendername;
    }

    public String getReceivername() {
        return receivername;
    }

    public void setReceivername(String receivername) {
        this.receivername = receivername;
    }

    public String getMsgtype() {
        return msgtype;
    }

    public void setMsgtype(String msgtype) {
        this.msgtype = msgtype;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSentime() {
        return sentime;
    }

    public void setSentime(String sentime) {
        this.sentime = sentime;
    }
}

